/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.edu.entity.practicsubject;

import com.idenger.common.persistence.DataEntity;
import com.idenger.modules.edu.entity.selectiontitle.EduSelectionTitle;
import org.hibernate.validator.constraints.Length;

/**
 * 题目Entity
 * @author 兰正军
 * @version 2017-11-30
 */
public class EduPracticSubject extends DataEntity<EduPracticSubject> {
	
	private static final long serialVersionUID = 1L;
	private String practiceId;		// 练习id
	private String titleId;		// 题库id
	private String score;		// 分数
	private String type;		// 题目类型 1.selection
	private EduSelectionTitle eduSelectionTitle;

	public EduPracticSubject() {
		super();
	}

	public EduPracticSubject(String id){
		super(id);
	}

	@Length(min=0, max=64, message="练习id长度必须介于 0 和 64 之间")
	public String getPracticeId() {
		return practiceId;
	}

	public void setPracticeId(String practiceId) {
		this.practiceId = practiceId;
	}
	
	@Length(min=0, max=64, message="题库id长度必须介于 0 和 64 之间")
	public String getTitleId() {
		return titleId;
	}

	public void setTitleId(String titleId) {
		this.titleId = titleId;
	}


	@Length(min=0, max=64, message="分数长度必须介于 0 和 64 之间")
	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}
/*	public String getScroe() {
		return scroe;
	}

	public void setScroe(String scroe) {
		this.scroe = scroe;
	}*/
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public EduSelectionTitle getEduSelectionTitle() {
		return eduSelectionTitle;
	}

	public void setEduSelectionTitle(EduSelectionTitle eduSelectionTitle) {
		this.eduSelectionTitle = eduSelectionTitle;
	}
	
	
}